package org.gr.ias.common.entity;

import java.io.Serializable;
import java.util.Date;

public class CapitalInterview implements Serializable {
    /** 主键*/
    private String id;

    /** 约谈人*/
    private String interviewUserId;

    /** 约谈人名称*/
    private String interviewUserName;

    /** 约谈人手机号码*/
    private String interviewUserMobile;

    /** 约谈时间*/
    private Date interviewTime;

    /** 约谈意向*/
    private String interviewIntention;

    /** 被约谈的项目ID*/
    private String projectId;

    /** 被约谈的项目名称*/
    private String projectName;

    /** 是否已读*/
    private String isRead;

    /** 约谈状态*/
    private String interviewStatus;

    /** 修改人*/
    private String updateUser;

    /** 修改时间*/
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getInterviewUserId() {
        return interviewUserId;
    }

    public void setInterviewUserId(String interviewUserId) {
        this.interviewUserId = interviewUserId == null ? null : interviewUserId.trim();
    }

    public String getInterviewUserName() {
        return interviewUserName;
    }

    public void setInterviewUserName(String interviewUserName) {
        this.interviewUserName = interviewUserName == null ? null : interviewUserName.trim();
    }

    public String getInterviewUserMobile() {
        return interviewUserMobile;
    }

    public void setInterviewUserMobile(String interviewUserMobile) {
        this.interviewUserMobile = interviewUserMobile == null ? null : interviewUserMobile.trim();
    }

    public Date getInterviewTime() {
        return interviewTime;
    }

    public void setInterviewTime(Date interviewTime) {
        this.interviewTime = interviewTime;
    }

    public String getInterviewIntention() {
        return interviewIntention;
    }

    public void setInterviewIntention(String interviewIntention) {
        this.interviewIntention = interviewIntention == null ? null : interviewIntention.trim();
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId == null ? null : projectId.trim();
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead == null ? null : isRead.trim();
    }

    public String getInterviewStatus() {
        return interviewStatus;
    }

    public void setInterviewStatus(String interviewStatus) {
        this.interviewStatus = interviewStatus == null ? null : interviewStatus.trim();
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser == null ? null : updateUser.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CapitalInterview other = (CapitalInterview) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getInterviewUserId() == null ? other.getInterviewUserId() == null : this.getInterviewUserId().equals(other.getInterviewUserId()))
            && (this.getInterviewUserName() == null ? other.getInterviewUserName() == null : this.getInterviewUserName().equals(other.getInterviewUserName()))
            && (this.getInterviewUserMobile() == null ? other.getInterviewUserMobile() == null : this.getInterviewUserMobile().equals(other.getInterviewUserMobile()))
            && (this.getInterviewTime() == null ? other.getInterviewTime() == null : this.getInterviewTime().equals(other.getInterviewTime()))
            && (this.getInterviewIntention() == null ? other.getInterviewIntention() == null : this.getInterviewIntention().equals(other.getInterviewIntention()))
            && (this.getProjectId() == null ? other.getProjectId() == null : this.getProjectId().equals(other.getProjectId()))
            && (this.getProjectName() == null ? other.getProjectName() == null : this.getProjectName().equals(other.getProjectName()))
            && (this.getIsRead() == null ? other.getIsRead() == null : this.getIsRead().equals(other.getIsRead()))
            && (this.getInterviewStatus() == null ? other.getInterviewStatus() == null : this.getInterviewStatus().equals(other.getInterviewStatus()))
            && (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getInterviewUserId() == null) ? 0 : getInterviewUserId().hashCode());
        result = prime * result + ((getInterviewUserName() == null) ? 0 : getInterviewUserName().hashCode());
        result = prime * result + ((getInterviewUserMobile() == null) ? 0 : getInterviewUserMobile().hashCode());
        result = prime * result + ((getInterviewTime() == null) ? 0 : getInterviewTime().hashCode());
        result = prime * result + ((getInterviewIntention() == null) ? 0 : getInterviewIntention().hashCode());
        result = prime * result + ((getProjectId() == null) ? 0 : getProjectId().hashCode());
        result = prime * result + ((getProjectName() == null) ? 0 : getProjectName().hashCode());
        result = prime * result + ((getIsRead() == null) ? 0 : getIsRead().hashCode());
        result = prime * result + ((getInterviewStatus() == null) ? 0 : getInterviewStatus().hashCode());
        result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", interviewUserId=").append(interviewUserId);
        sb.append(", interviewUserName=").append(interviewUserName);
        sb.append(", interviewUserMobile=").append(interviewUserMobile);
        sb.append(", interviewTime=").append(interviewTime);
        sb.append(", interviewIntention=").append(interviewIntention);
        sb.append(", projectId=").append(projectId);
        sb.append(", projectName=").append(projectName);
        sb.append(", isRead=").append(isRead);
        sb.append(", interviewStatus=").append(interviewStatus);
        sb.append(", updateUser=").append(updateUser);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}